﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using Microsoft.Xna.Framework.Audio;
using System.Xml.Serialization;
using System.IO;

namespace GenetecHackathonCod3
{
    public class Report
    {
        [XmlElement]
        public String title;
       
        //public List<Image> images;
        
        [XmlArray]
        public List<Recording> recordings;
       
        [XmlArray]
        public List<Note> notes;
        [XmlElement]
        public DateTime date;

        public Report()
        {
        }

        public Report(String title)
        {
            this.title = title;
            //images = new List<Image>();
            recordings = new List<Recording>();
            notes = new List<Note>();
            date = DateTime.UtcNow;
        }

        public Report(String title, Image image)
        {
            this.title = title;
            //images.Add(image);
        }

        public void appendImage(Image image)
        {
            //images.Add(image);
        }

        public void appendSound(Recording recording)
        {
            recordings.Add(recording);
        }

        public void setTitle(String title)
        {
            this.title = title;
        }

        public String getTitle()
        {
            return title;
        }

        public String getDateString()
        {
            return date.ToString();
        }

        public List<Note> getNotes()
        {
            return notes;
        }

    }
}
